using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// <summary>
/// This object represents the properties and methods of a LogTopic.
/// </summary>
namespace YouHP.Model
{
	public class LogTopicInfo  : IHydratable
	{
		public int Id { get; set;}
		public int Type { get; set; }
		public int HostUserId { get; set; }
		public string Title { get; set; }
		public string Body { get; set; }
		public DateTime PostTime { get; set; }
		public DateTime UpdateTime { get; set; }
		public int LastestReplyUserId { get; set; }
		public string LatestReplyUserName { get; set; }
		public DateTime LatestReplyTime { get; set; }
		public int ReplyCount { get; set; }
		public int Hits { get; set; }
		public int IsTop { get; set; }
        public string Tags { get; set; }
        public string PostUserName { get; set; }
		
		public LogTopicInfo()
		{
            Id = HostUserId = LastestReplyUserId = -1;
            Type = ReplyCount = Hits = IsTop = 0;
            LatestReplyUserName = Title = Body = Tags = PostUserName="";

		}
		
		#region IHydratable
		public bool Fill(System.Data.IDataReader dr)
		{
			return false;
		}
		#endregion
	}
}
